package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 员工实体类
 */
@TableName("t_employee")
public class EmployeeBean {
    /**员工Id*/
    @TableId(value = "pk_emId",type = IdType.AUTO)
    private Integer emId;
    /**账户*/
    @TableField("e_account")
    private String account;
    /**密码*/
    @TableField("e_password")
    private String password="111";
    /**真实姓名*/
    @TableField("e_realName")
    private String realName;
    /**部门*/
    @TableField("e_dept")
    private String dept;
    /**职位*/
    @TableField("e_job")
    private String job;

    public EmployeeBean() {
    }

    public Integer getEmId() {
        return emId;
    }

    public void setEmId(Integer emId) {
        this.emId = emId;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    @Override
    public String toString() {
        return "EmployeeBean{" +
                "emId=" + emId +
                ", account='" + account + '\'' +
                ", password='" + password + '\'' +
                ", realName='" + realName + '\'' +
                ", dept='" + dept + '\'' +
                ", job='" + job + '\'' +
                "}\n";
    }
}
